@layout("/common/_curd/_container.html"){

	<form data-url="${basePath}/${code}/save" method="post" class="form-horizontal" role="form">
		<!-- 表单 -->
		@ var _table="tb_classes";
		@ var _col=[
		@			  {name:"班级", index:"class_name", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"年级", index:"grade_id", type:"select_1001",newline:true,length:8,required:"required"},
		@			  {name:"班主任", index:"head_teacher", type:"opentreeTeacherDept",intercept:"ChooseTeacherIntercept",check:"radio",newline:true,length:8},
		@			  {name:"课任老师", index:"teachers", type:"opentreeTeacherDept",intercept:"ChooseTeacherIntercept",check:"checkbox",newline:true,length:8}
		@		   ];
		@ include("/common/_curd/_add.html", {"col":_col, "table":_table}){}
		
		<!-- 按钮 -->
		@ include("/common/_curd/_btn.html", {btn_save:"新增", btn_close:"关闭"}) {}
	</form>

@}
